package com.example.swagger.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author guoQ.z
 * @date 2020/12/17 11:18
 * TODO
 */
@Api(tags = "控制层")
@RestController
@RequestMapping("/swaggerCont")
public class SwaggerController {

    @GetMapping("/a")
    @ApiOperation("a de  method")
    public String a(String h) {
        System.out.println(h);
        return h;
    }
}
